package com.ruoyi.teaching.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.NoArgsConstructor;

/**
  * <p>
  * 
  * </p>
  *
  * @author 李志鑫
  * @since 2024-08-23
  */
@Data
@TableName("web_socket_user_dialogue")
@ApiModel(value="WebSocketUserDialogue对象", description="")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WebSocketUserDialogue implements Serializable {
    @ApiModelProperty(value = "对话列表")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "a用户名")
    private String aUserName;

    @ApiModelProperty(value = "a用户id")
    private Long aUserId;

    @ApiModelProperty(value = "备注")
    private String aUserRemarks;

    @ApiModelProperty(value = "b用户名")
    private String bUserName;

    @ApiModelProperty(value = "b用户id")
    private Long bUserId;

    @ApiModelProperty(value = "b用户备注")
    private String bUserRemarks;

    @ApiModelProperty(value = "群聊名称")
    private String groupName;

    @ApiModelProperty(value = "群聊成员")
    private String groupUser;

    @ApiModelProperty(value = "群聊备注")
    private String groupRemarks;

    @ApiModelProperty(value = "聊天类型0一对一 1群聊 2通告")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人id(目前只用于群聊)")
    private Long createId;

    @ApiModelProperty(value = "a置顶")
    private Integer aTopUp;

    @ApiModelProperty(value = "b置顶")
    private Integer bTopUp;

    @ApiModelProperty(value = "群公告")
    private String groupNotice;



}